package com.yugao.fintech.draper.core.constant;

public interface RedisKeyConstants {
    /******用户缓存标识*******/
    String CACHE_PREFIX_USER = "draper:user:";
    String CACHE_PREFIX_USER_KEY = "draper:user:info:";

    /******角色缓存标识*******/
    String CACHE_PREFIX_ROLE = "draper:role:";
    String CACHE_PREFIX_ROLE_DATA_SCOPE = "draper:role:dataScope:";
    String CACHE_PREFIX_IS_SUPER_ADMIN = "draper:role:isSuperAdmin:";

    /******菜单缓存标识*******/
    String CACHE_PREFIX_MENU = "draper:menu:";

    /******部门缓存标识*******/
    String CACHE_PREFIX_DEPT = "draper:dept:";
    String CACHE_PREFIX_DEPT_TREE = "draper:dept:tree:";

    /******短信验证码key前缀*******/
    String SMS_CODE_PREFIX = "SMS_CODE:";
}
